-- GENERATED SPELL FOR [Mizzle the Crafty] --


function spell0_14353(pUnit, Event) --@King of the Gordok,n/a--
pUnit:FullCastSpellOnTarget(22799,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14353', 1000, 1)
end

function Sorts_14353(pUnit, Event)
local choix_sorts_14353 = math.random(0, 0)
if choix_sorts_14353 == 0 then
pUnit:RegisterEvent('spell0_14353', 1, 1)
end
end

function mob14353_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14353', math.random(1500, 3000), 1)
end

function mob14353_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14353_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14353_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14353, 1, 'mob14353_Action')
RegisterUnitEvent(14353, 2, 'mob14353_Leave')
RegisterUnitEvent(14353, 3, 'mob14353_Kill')
RegisterUnitEvent(14353, 4, 'mob14353_Die')
